﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<Brjostagjof.Models.Article>>" %>

<% foreach ( var item in Model )
    { %>
    <div class="frettaListi">
        <h2><%: Html.ActionLink( item.Title.DisplayFirst(50), "SynaGrein", new { id = item.ID })%></h2>
        <p>Grein bætt inn af <%: item.FullName %> - <%: item.Date %></p>
    </div>
        <!-- <p><iframe src="http://www.facebook.com/plugins/like.php?href=www.brjostagjof.is&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowt5ransparency="true"></iframe> </p>-->
<%} %>
